]> dgit.raspbian.org Git - gnome-shell.git/commit
st-texture-cache: Fix a minor crash when computing our border-radius
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 13 Oct 2011 01:15:36 +0000 (21:15 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 13 Oct 2011 18:15:18 +0000 (14:15 -0400)
commitcecb1a41fbe7b549d864c71d72cad72181ccf050
tree7169b7dc7a8da4a715ec78eeb504789faa9da2ce
parentb9069df85c78b2f249742233ac2417ba94c9103f
st-texture-cache: Fix a minor crash when computing our border-radius

If we add a 0-sized actor with a border-radius, we will crash as we try to
allocate a 0-sized texture in Cogl. Bail out early instead of doing that.

https://bugzilla.gnome.org/show_bug.cgi?id=661617
src/st/st-theme-node-drawing.c